import request from '@/utils/request';

// get 获取管理员菜单
export async function fetchOwnerAccess(params) {
  return request('/admin/access/listOwnerAccess', {
    params,
  });
}

//获取管理员信息
export async function fetchOtherAdminInfo(params) {
  return request('/admin/getOtherAdminInfo', {
    params,
  });
}

// 重置密码
export async function fakeChangePassword(data) {
  return request('/admin/changePassword', {
    method: 'post',
    data,
  });
}


